const Production = {
    logger:{
        path:'/var/logs/what_i_love'
    },
    mongo:{
        url:'mongodb://localhost:27017/acfun'
    },
    redis:{
        url:'localhost',
        port:6379
    }
}
const Debug = {
    logger:{
        path:'./logs/what_i_love'
    },
    mongo:{
        url:'mongodb://localhost:27017/acfun'
    },
    redis:{
        url:'localhost',
        port:6379
    }
}

if(process.env.NODE_ENV === 'production')
{
    module.exports = Production;
}else{
    module.exports = Debug;
}